package medicalDocumentation.medicalDoc;

import entity.PlanProcedure;
import entity.Treatment;
import java.util.Date;
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface CaseTreatmentSessionBeanRemote {

    Long addTreatment(Long CIN, Date date, String status, String authDoctor, String consultant);

   
    //    public void UpdateProcedureStatus(String treatmentID,String procedureID){
    //        PlanProcedure procedure=em.find(PlanProcedure.class, procedureID);
    //
    //        Treatment treatment=em.find(Treatment.class, treatmentID);
    //        List<PlanProcedure> planProcedureList=new ArrayList();
    //
    //        procedure.setStatus("Ordered");
    //
    //
    //        em.persist(procedure);
    //
    //    }
    List<Treatment> displayCaseTreatment(Long CIN);

    List<PlanProcedure> findProcedure(Long treatmentID);

    void updateTreatment(Treatment treatment);
    
    void deleteTreatment(Long cin, Long id);
}
